import {request} from '@/utils/request';

/**
 * 修改维修记录
 * @param data 数据
 */
export function modifyBmsDeviceRepairApi(data: any) {
  return request({
      url: '/bms/device/repair/modifyBmsDeviceRepair',
      method: 'post',
      data,
    },
    {
      isDataDirectly: false,
    });
}

/**
 * 添加维修记录
 * @param data 数据
 */
export function addBmsDeviceRepairApi(data: any) {
  return request({
      url: '/bms/device/repair/addBmsDeviceRepair',
      method: 'post',
      data,
    },
    {
      isDataDirectly: false,
    });
}

/**
 * 查询分页维修记录
 * @param data 数据
 */
export function listBmsDeviceRepairPageApi(data: any) {
  return request({
      url: '/bms/device/repair/listBmsDeviceRepairPage',
      method: 'post',
      data,
    },
    {
      isDataDirectly: false,
    });
}
